package dao;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * AbstractShangji entity provides the base persistence definition of the
 * Shangji entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public abstract class AbstractShangji implements java.io.Serializable {

	// Fields

	private Integer shangjiid;
	private User user;
	private String shangjicode;
	private Date deadline;
	private Date submitdate;
	private String shangjititle;
	private String shangjikeyword;
	private String shangjiinfo;
	private String shangjistatus;
	private Set orders = new HashSet(0);

	// Constructors

	/** default constructor */
	public AbstractShangji() {
	}

	/** minimal constructor */
	public AbstractShangji(User user, String shangjicode, Date deadline,
			Date submitdate, String shangjititle, String shangjiinfo,
			String shangjistatus) {
		this.user = user;
		this.shangjicode = shangjicode;
		this.deadline = deadline;
		this.submitdate = submitdate;
		this.shangjititle = shangjititle;
		this.shangjiinfo = shangjiinfo;
		this.shangjistatus = shangjistatus;
	}

	/** full constructor */
	public AbstractShangji(User user, String shangjicode, Date deadline,
			Date submitdate, String shangjititle, String shangjikeyword,
			String shangjiinfo, String shangjistatus, Set orders) {
		this.user = user;
		this.shangjicode = shangjicode;
		this.deadline = deadline;
		this.submitdate = submitdate;
		this.shangjititle = shangjititle;
		this.shangjikeyword = shangjikeyword;
		this.shangjiinfo = shangjiinfo;
		this.shangjistatus = shangjistatus;
		this.orders = orders;
	}

	// Property accessors

	public Integer getShangjiid() {
		return this.shangjiid;
	}

	public void setShangjiid(Integer shangjiid) {
		this.shangjiid = shangjiid;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getShangjicode() {
		return this.shangjicode;
	}

	public void setShangjicode(String shangjicode) {
		this.shangjicode = shangjicode;
	}

	public Date getDeadline() {
		return this.deadline;
	}

	public void setDeadline(Date deadline) {
		this.deadline = deadline;
	}

	public Date getSubmitdate() {
		return this.submitdate;
	}

	public void setSubmitdate(Date submitdate) {
		this.submitdate = submitdate;
	}

	public String getShangjititle() {
		return this.shangjititle;
	}

	public void setShangjititle(String shangjititle) {
		this.shangjititle = shangjititle;
	}

	public String getShangjikeyword() {
		return this.shangjikeyword;
	}

	public void setShangjikeyword(String shangjikeyword) {
		this.shangjikeyword = shangjikeyword;
	}

	public String getShangjiinfo() {
		return this.shangjiinfo;
	}

	public void setShangjiinfo(String shangjiinfo) {
		this.shangjiinfo = shangjiinfo;
	}

	public String getShangjistatus() {
		return this.shangjistatus;
	}

	public void setShangjistatus(String shangjistatus) {
		this.shangjistatus = shangjistatus;
	}

	public Set getOrders() {
		return this.orders;
	}

	public void setOrders(Set orders) {
		this.orders = orders;
	}

}